#ifndef _HTTP_CMD_SESSION_H_
#define _HTTP_CMD_SESSION_H_

#include "HttpSocketEx.h"
#include "HttpResponse.h"

class CHttpCmdSocket : public SGLib::CHttpSocketEx
{
public:
    CHttpCmdSocket(s32 id) : CHttpSocketEx(id)
    {}
    virtual void OnAccept() { SGLib::CHttpSocketEx::OnAccept(); LOG_DEBUG("======> httpsocket1 accept"); }
    virtual SGLib::CIoSocketEx* Clone(s32 id) { return new CHttpCmdSocket(id); }
    virtual bool OnRequest(SGLib::CHttpRequest &request);
};

#endif

